<?php

namespace App\Models\Trip\OrderPay\Repositories\Interfaces;


use App\Models\Plane\PlaneOrders\PlaneOrder;
use App\Models\Train\TrainOrders\TrainOrder;
use App\Models\Trip\OrderPay\OrderPay;
use App\Models\Trip\OrderPay\OrderPayDetail;

interface OrderPayDetailsRepositoryInterface
{
    public function addMore(OrderPay $pay, array $data);

    public function getTrainOrderPayDetail(TrainOrder $order, int $business_type): ?OrderPayDetail;

    public function getPlaneOrderPayDetail(PlaneOrder $order, int $business_type): ?OrderPayDetail;

    public function findByPaySn(string $pay_sn);
}